import request from '@/utils/request'
// 查询电站运行分析数据
export const getdianzhanreportapi = params => request.get('pes-microservice-biz/pes/power/station/operation/report/report/page', { params })
// 新增电站报告
export const postdianzhanaddreportapi = data => request.post('pes-microservice-biz/pes/power/station/operation/report/report/add', data)
// 删除电站报告
export const postdeldianzhanapi = id => request.post(`pes-microservice-biz/pes/power/station/operation/report/report/delete?id=${id}`)
// 查询某个电站信息
export const getdianzhanxiangqingapi = params => request.get('pes-microservice-biz/pes/power/station/operation/report/report/view', { params })
// 电站同环比
export const getdianzhanhuanbiapi = params => request.get('pes-microservice-biz/pes/power/station/operation/report/report/tb/line', { params })
// 电站性能
export const getdianzhanxingnnegapi = params => request.get('pes-microservice-biz/pes/power/station/operation/report/report/performance/line', { params })
// 生产报告
export const postshengchengreportapi = data => request.post('pes-microservice-biz/pes/power/station/operation/report/report/createPdf', data)
// 查询电站效益
export const getdianzhanxiaoyiapi=params=>request.get('pes-microservice-biz/pes/power/station/operation/report/report/social/benefits',{params})